package com.example.demo1.mapper;

import com.example.demo1.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<Order> getOrderList();

    List<Order> getOrders(int orderId);

    int deleteOrder(int orderId);

    int updateFlightId(@Param("flightId") int flightId, @Param("orderId")int orderId);
}
